package com.sl.springmvc.swagger.util;

import org.apache.commons.lang3.StringUtils;


/**
 * The Class SystemConstants.
 */
public class SystemConstants {

    /**
     * The Constant HYVE_SERVER_QUEUE_HOST.
     */
    public static final String HYVE_SERVER_QUEUE_HOST = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_HOST")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_HOST") : System.getProperty("RABBITMQ_SERVER_QUEUE_HOST");

    /**
     * The Constant HYVE_SERVER_QUEUE_PORT.
     */
    public static final String HYVE_SERVER_QUEUE_PORT = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_PORT")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_PORT") : System.getProperty("RABBITMQ_SERVER_QUEUE_PORT");

    /**
     * The Constant HYVE_SERVER_QUEUE_USERNAME.
     */
    public static final String HYVE_SERVER_QUEUE_USERNAME = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_USERNAME")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_USERNAME") : System.getProperty("RABBITMQ_SERVER_QUEUE_USERNAME");

    /**
     * The Constant HYVE_SERVER_QUEUE_PASSWORD.
     */
    public static final String HYVE_SERVER_QUEUE_PASSWORD = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_PASSWORD")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_PASSWORD") : System.getProperty("RABBITMQ_SERVER_QUEUE_PASSWORD");

    /**
     * The Constant HYVE_SERVER_QUEUE_NAME.
     */
    public static final String HYVE_SERVER_QUEUE_NAME = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_NAME")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_NAME") : System.getProperty("RABBITMQ_SERVER_QUEUE_NAME");

    /**
     * The Constant HYVE_SERVER_QUEUE_EXCHANGE.
     */
    public static final String HYVE_SERVER_QUEUE_EXCHANGE = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_EXCHANGE")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_EXCHANGE") : System.getProperty("RABBITMQ_SERVER_QUEUE_EXCHANGE");

    /**
     * The Constant HYVE_SERVER_QUEUE_VERSION.
     */
    public static final String HYVE_SERVER_QUEUE_VERSION = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_VERSION")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_VERSION") : System.getProperty("RABBITMQ_SERVER_QUEUE_VERSION");

    /**
     * The Constant HYVE_SERVER_QUEUE_EXCHANGE_KEY.
     */
    public static final String HYVE_SERVER_QUEUE_EXCHANGE_KEY = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_EXCHANGE_KEY")) ? System
                    .getenv("RABBITMQ_SERVER_QUEUE_EXCHANGE_KEY") : System.getProperty("RABBITMQ_SERVER_QUEUE_EXCHANGE_KEY");
    /**
     * The constant HYVE_SERVER_QUEUE_VHOST.
     */
    public static final String HYVE_SERVER_QUEUE_VHOST = StringUtils.isBlank(System.getProperty("RABBITMQ_SERVER_QUEUE_EXCHANGE_KEY")) ? System
        .getenv("RABBITMQ_SERVER_QUEUE_VHOST") : System.getProperty("RABBITMQ_SERVER_QUEUE_VHOST");
}
